from BeautifulSoup import BeautifulSoup
import urllib2

def searchTags(url, tag):

	print url
	url = urllib2.urlopen(url)

	doc = url.read()

#print doc
    
	soup = BeautifulSoup(doc)
#print soup.prettify()

	lista = soup.findAll(tag)

	return len(lista)
	pass

